package com.shiguiwu.springmybatis.designpattern.visitor;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @description: 用户视角 ，接受一个访问者
 * @author: stone
 * @date: Created by 2021/10/29 16:05
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.visitor
 */
@Data
@AllArgsConstructor
public abstract class User {

    protected String name;

    protected String identity;

    protected String clazz;

    public abstract void accept(Visitor visitor);
}
